import React, { useReducer } from 'react';
import './notFound.css';

const initialState = {};

function reducer(state, action) {
  switch (action.type) {
    case 'actionName':
      return { ...state, ...action.payload };
    default:
      throw new Error();
  }
}

function NotFound() {
  // const [state, dispatch] = useReducer(reducer, initialState);

  return <div>Sorry, the page not found.</div>;
}

export default NotFound;
